import Mock from 'mockjs'
import banner from './banner.json'
import floor from './floor.json'

Mock.mock('/mock/banner',{code:200,data:banner})//第一个参数是路径，第二个参数数据
Mock.mock('/mock/floor',{code:200,data:floor})